package com.xinghanlaser.applet.base.auth.vo;

import com.xinghanlaser.applet.base.auth.entity.ResourceDO;
import com.xinghanlaser.applet.base.auth.entity.RoleDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * <p>
 *
 * <p>
 *
 * @author: mftuo 陀铭峰
 * @since: 2024/4/30 8:59
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class RoleDataVO extends RoleDO {
    @ApiModelProperty("资源列表")
    private List<ResourceDO> resources;

    @ApiModelProperty("是否为超级管理员角色")
    private Boolean isSuperAdmin = false;
}
